package com.wn.ziroombackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzhijia
 * @since 2023-02-27 10:56:29
 */
@Getter
@Setter
@TableName("t_order")
public class Order {

    /**
     * 订单ID
     */
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    /**
     * 订单号
     */
    @TableField("order_number")
    private String orderNumber;

    /**
     * 商品id
     */
    @TableField("production_id")
    private Integer productionId;

    /**
     * 类型id
     */
    @TableField("category_id")
    private Integer categoryId;

    /**
     * 详细地址
     */
    @TableField("address")
    private String address;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;


}
